/**
 * 
 * @author Eric Muehlberg
 *
 *
 *	Might be overkill to have this instead of just an enum
 *	Will reevaluate later
 */
public class CollisionFace
{
	boolean[] sides;
	
	int left, right, top, bottom;
	
	public CollisionFace()
	{
		sides = new boolean[4];
		for(int x = 0; x < 4; x++)
		{
			sides[x] = false;
		}
		left = 0;
		right = 1;
		top = 2;
		bottom = 3;
	}
	
	public void setLeft(boolean f)
	{
		sides[left] = f;
	}
	
	public void setRight(boolean f)
	{
		sides[right] = f;		
	}
	
	public void setTop(boolean f)
	{
		sides[top] = f;		
	}
	
	public void setBottom(boolean f)
	{
		sides[bottom] = f;		
	}
	
	public boolean getLeft()
	{
		return sides[left];
	}
	
	public boolean getRight()
	{
		return sides[right];		
	}
	
	public boolean getTop()
	{
		return sides[top];
	}
	
	public boolean getBottom()
	{
		return sides[bottom];	
	}
}
